package p29_ControllerAdvice之ResponseBodyAdvice;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 统一返回对象
 */
@Data
@AllArgsConstructor
@Accessors(chain = true)
class R {
    private Boolean success;
    private Integer code;
    private Object data;
}